

.api-radio-group{
  font-size: 0;
}
.api-radio{
  position: relative;
  display: inline-block;
  padding: 0 18px;
  font-size: 14px;
  border: 1px solid #999;
  line-height: 26px;
  cursor: pointer;
  border-radius: 2px;
  vertical-align: top;
  &+.api-radio{
    margin-left: 15px;
  }
  &:after{
    position: absolute;
    font-family:"iconfont" !important;
    font-size:16px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    right: -1px;
    bottom: 0;
    width: 18px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    color: $primary-color;
  }
  &:hover{
    border: 1px solid $primary-color;
    .api-radio-label{
      color: $primary-color;
    }
  }
  .api-radio-input{
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    display: inline-block;
    line-height: 1;
    position: relative;
    vertical-align: middle;
  }
  .api-radio-origin{
    opacity: 0;
    outline: none;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
  }
  .api-radio-label{
    font-size: 14px;
    color: $second-color;
    .iconfont{
      font-size: 14px;
      vertical-align: top;
    }
  }
  &-pink{
    border-color: $api-radio-pink;
    .api-radio-label{
      color: $api-radio-pink;
    }
  }
  &-zs{
    border-color: $api-radio-zs;
    .api-radio-label{
      color: $api-radio-zs;
    }
  }
  &.checked{
    border: 1px solid $primary-color;
    .api-radio-label{
      color: $primary-color;
    }
    &:after{
      content: '\e6b9';
    }
  }
}